export const unitCategories = [
    {
        name: 'temperature',
        label: '温度',
        units: [
            { name: 'celsius', label: '摄氏度 (°C)', type: 'temperature' },
            { name: 'fahrenheit', label: '华氏度 (°F)', type: 'temperature' },
            { name: 'kelvin', label: '开尔文 (K)', type: 'temperature' }
        ]
    },
    {
        name: 'length',
        label: '长度',
        units: [
            { name: 'meter', label: '米 (m)', type: 'length' },
            { name: 'kilometer', label: '千米 (km)', type: 'length' },
            { name: 'centimeter', label: '厘米 (cm)', type: 'length' },
            { name: 'millimeter', label: '毫米 (mm)', type: 'length' },
            { name: 'mile', label: '英里 (mi)', type: 'length' },
            { name: 'yard', label: '码 (yd)', type: 'length' },
            { name: 'foot', label: '英尺 (ft)', type: 'length' },
            { name: 'inch', label: '英寸 (in)', type: 'length' }
        ]
    },
    {
        name: 'time',
        label: '时间',
        units: [
            { name: 'second', label: '秒 (s)', type: 'time' },
            { name: 'millisecond', label: '毫秒 (ms)', type: 'time' },
            { name: 'minute', label: '分钟 (min)', type: 'time' },
            { name: 'hour', label: '小时 (h)', type: 'time' },
            { name: 'day', label: '天 (d)', type: 'time' },
            { name: 'week', label: '周 (wk)', type: 'time' },
            { name: 'month', label: '月 (mo)', type: 'time' },
            { name: 'year', label: '年 (yr)', type: 'time' }
        ]
    },
    {
        name: 'weight',
        label: '重量',
        units: [
            { name: 'gram', label: '克 (g)', type: 'weight' },
            { name: 'kilogram', label: '千克 (kg)', type: 'weight' },
            { name: 'milligram', label: '毫克 (mg)', type: 'weight' },
            { name: 'ton', label: '吨 (t)', type: 'weight' },
            { name: 'pound', label: '磅 (lb)', type: 'weight' },
            { name: 'ounce', label: '盎司 (oz)', type: 'weight' }
        ]
    }
];